-
Notifications
You must be signed in to change notification settings - Fork 341
[RuntimeDyld][Windows] Allocate space for dllimport things. #9071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
We weren't taking account of the space we require in the stubs for things that are `dllimport`ed, and as a result we could hit the assertion failure for running out of stub space. Fix that. rdar://133473673
@swift-ci Please test |
This is going to need cherry picking to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please send this upstream as well.
Would also be nice to pull this into release/6.0 as it should be very low risk and enables better parity. |
@swift-ci Please test |
@swift-ci Please test macOS platform |
@swift-ci Please test Windows platform |
(The macOS failure was some spurious Jenkins problem.) |
No need for `TargetName` to exist separately, really. Co-authored-by: Saleem Abdulrasool <[email protected]>
8b7b752
to
43d7520
Compare
@swift-ci Please test |
We weren't taking account of the space we require in the stubs for things that are
dllimport
ed, and as a result we could hit the assertion failure for running out of stub space. Fix that.rdar://133473673